<div class="box-tools" style="top:10px;">
  <form action="{:url('project/examine')}" method="GET" pjax-search="" class="form-inline" id="project2—form">
    <div class="form-group">
      <label for="exampleInputName2">待审核项目</label>
      <select class="form-control" id="exampleInputName2" name="status" style="border-radius:3px;">
        <option value="0">全部</option>
        <option value="1" {if condition="$status eq 1" }selected="selected" {/if} >预热中项目</option>
        <option value="2" {if condition="$status eq 2" }selected="selected" {/if} >进行中项目</option>
        <option value="5" {if condition="$status eq 5" }selected="selected" {/if} >已拒绝项目</option>
        <option value="-1" {if condition="$status eq -1" }selected="selected" {/if} >已失败项目</option>
      </select>
    </div>
    <div class="form-group">
      <label for="type">关键字</label>
      <input type="text" id="type" name="search" class="form-control" value="{:input('get.search')}"
             placeholder="{$Think.lang.search}"/>
    </div>
    <div class="form-group">
      <button type="submit" class="btn btn-primary sreachs">搜索</button>
      <button type="button" class="btn btn-primary" onclick="resetForm()">重置</button>
    </div>
  </form>
</div>
<script>
    function resetForm() {
        $('select[name="status"]').val('0')
        $('input[name="search"]').val('')
        $('#project2—form').submit()
    }
</script>